package com.ourteam.education.dao;
import net.dao.IDataAccessInterface;
/**
 * Template Name : DAO接口模板
 * Template Version : 1
 * Template Last Modfiy Date : Thu Sep 21 11:14:14 CST 2017
 * Auto Generate Date : 2019-09-22 15:15:04
  * Warning ! This file will be overwrite when regenerate !
  * 
 */
public interface IBaseClassStudentRelateDAO 
    extends IDataAccessInterface<ClassStudentRelate, ClassStudentRelateDAOQueryBean>{
    
    /**
	*  Mapped Entity Name
	*/
	static final String EntityName = "EDU_CLASS_STUDENT_RELATE";
	
		
	/**
	 * Mapped Field ID
	*/
	
	static final String Id = "EDU_CLASS_STUDENT_RELATE.ID";
	
		
	/**
	 * Mapped Field CLASS_ID
	*/
	
	static final String ClassId = "EDU_CLASS_STUDENT_RELATE.CLASS_ID";
	
		
	/**
	 * Mapped Field STUDENT_ID
	*/
	
	static final String StudentId = "EDU_CLASS_STUDENT_RELATE.STUDENT_ID";
	
		
	/**
	 * Mapped Field RELATE_TYPE
	*/
	
	static final String RelateType = "EDU_CLASS_STUDENT_RELATE.RELATE_TYPE";
	
		
	/**
	 * Mapped Field DELETE_FLAG
	*/
	
	static final String DeleteFlag = "EDU_CLASS_STUDENT_RELATE.DELETE_FLAG";
	
		
	/**
	 * Mapped Field STATUS
	*/
	
	static final String Status = "EDU_CLASS_STUDENT_RELATE.STATUS";
	
		
	/**
	 * Mapped Field REMARKS
	*/
	
	static final String Remarks = "EDU_CLASS_STUDENT_RELATE.REMARKS";
	
		
						
	/**
	 * Mapped Attribute studentName
	*/
	static final String StudentName = 
	    org.apache.commons.lang.StringUtils.replace(
	        com.ourteam.education.dao.IStudentDAO.StudentName,
	        com.ourteam.education.dao.IStudentDAO.EntityName + ".",
	        "RELATED_T6FUD5_Student."
	   );
	
				
	/**
	 * Mapped Attribute studentGender
	*/
	static final String StudentGender = 
	    org.apache.commons.lang.StringUtils.replace(
	        com.ourteam.education.dao.IStudentDAO.StudentGender,
	        com.ourteam.education.dao.IStudentDAO.EntityName + ".",
	        "RELATED_T6FUD5_Student."
	   );
	
				
	/**
	 * Mapped Attribute contactsRelation
	*/
	static final String ContactsRelation = 
	    org.apache.commons.lang.StringUtils.replace(
	        com.ourteam.education.dao.IStudentDAO.ContactsRelation,
	        com.ourteam.education.dao.IStudentDAO.EntityName + ".",
	        "RELATED_T6FUD5_Student."
	   );
	
				
	/**
	 * Mapped Attribute contactsPhone
	*/
	static final String ContactsPhone = 
	    org.apache.commons.lang.StringUtils.replace(
	        com.ourteam.education.dao.IStudentDAO.ContactsPhone,
	        com.ourteam.education.dao.IStudentDAO.EntityName + ".",
	        "RELATED_T6FUD5_Student."
	   );
	
				
	static public interface DataProperty{
		
	   /**
	    * Attribute id
	    */
	   static final String Id = "id";
	
		
	   /**
	    * Attribute classId
	    */
	   static final String ClassId = "classId";
	
		
	   /**
	    * Attribute studentId
	    */
	   static final String StudentId = "studentId";
	
		
	   /**
	    * Attribute relateType
	    */
	   static final String RelateType = "relateType";
	
		
	   /**
	    * Attribute deleteFlag
	    */
	   static final String DeleteFlag = "deleteFlag";
	
		
	   /**
	    * Attribute status
	    */
	   static final String Status = "status";
	
		
	   /**
	    * Attribute remarks
	    */
	   static final String Remarks = "remarks";
	
		
	   /**
	    * Attribute studentName
	    */
	   static final String StudentName = "studentName";
	
		
	   /**
	    * Attribute studentGender
	    */
	   static final String StudentGender = "studentGender";
	
		
	   /**
	    * Attribute contactsRelation
	    */
	   static final String ContactsRelation = "contactsRelation";
	
		
	   /**
	    * Attribute contactsPhone
	    */
	   static final String ContactsPhone = "contactsPhone";
	
		
	}
	
	static public interface _DataObjectProperty extends DataProperty{
		
	}
	
					    	    																																
		
	/**
	 * Delete Data
	 * @param final long id
	 * @throws Exception
	 */
	void delete(  final long id ) throws Exception;
    /**
	 * Find Data By Primary Key
	 * @param  final long id
	 * @throws Exception
	 */
	ClassStudentRelate findById( final long id ) throws Exception;
	
		
		
}